package no.ntnu.fp.model;

public class Room extends Location{
	
	private int size;
	
	public Room(String name, int size) {
		super(name);
		this.setSize(size);
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String toString() {
		return name + " (" + size + " personer)";
	}
	
}
